package com.example.myactspringboot.bean;

//import javax.persistence.Table;

/**
 * @Database: busi_task_main
 */

//@Table(name ="busi_task_main")
public class BusiTaskMain  {

	/**
	 * 主键ID
	 */
	private Integer id;

	/**
	 * 请假类型
	 */
	private String type;

	/**
	 * 标题
	 */
	private String title;

	/**
	 * 原因
	 */
	private String reason;

	/**
	 * 开始时间
	 */
	private java.util.Date startTime;

	/**
	 * 结束时间
	 */
	private java.util.Date endTime;

	/**
	 * 请假时长，单位秒
	 */
	private Integer totalTime;

	/**
	 * 流程实例ID
	 */
	private String instanceId;

	/**
	 * 创建者
	 */
	private String createBy;

	/**
	 * 创建时间
	 */
	private java.util.Date createTime;

	/**
	 * 更新者
	 */
	private String updateBy;

	/**
	 * 更新时间
	 */
	private java.util.Date updateTime;

	/**
	 * 申请人
	 */
	private String applyUser;
	private String state;

	/**
	 * 申请时间
	 */
	private java.util.Date applyTime;

	/**
	 * 实际开始时间
	 */
	private java.util.Date realityStartTime;

	/**
	 * 实际结束时间
	 */
	private java.util.Date realityEndTime;

	private String todoManId;

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public void setTodoManId(String todoManId) {
		this.todoManId = todoManId;
	}

	public String getTodoManId() {
		return todoManId;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public java.util.Date getStartTime() {
		return startTime;
	}

	public void setStartTime(java.util.Date startTime) {
		this.startTime = startTime;
	}

	public java.util.Date getEndTime() {
		return endTime;
	}

	public void setEndTime(java.util.Date endTime) {
		this.endTime = endTime;
	}

	public Integer getTotalTime() {
		return totalTime;
	}

	public void setTotalTime(Integer totalTime) {
		this.totalTime = totalTime;
	}

	public String getInstanceId() {
		return instanceId;
	}

	public void setInstanceId(String instanceId) {
		this.instanceId = instanceId;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public java.util.Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(java.util.Date createTime) {
		this.createTime = createTime;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public java.util.Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(java.util.Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getApplyUser() {
		return applyUser;
	}

	public void setApplyUser(String applyUser) {
		this.applyUser = applyUser;
	}

	public java.util.Date getApplyTime() {
		return applyTime;
	}

	public void setApplyTime(java.util.Date applyTime) {
		this.applyTime = applyTime;
	}

	public java.util.Date getRealityStartTime() {
		return realityStartTime;
	}

	public void setRealityStartTime(java.util.Date realityStartTime) {
		this.realityStartTime = realityStartTime;
	}

	public java.util.Date getRealityEndTime() {
		return realityEndTime;
	}

	public void setRealityEndTime(java.util.Date realityEndTime) {
		this.realityEndTime = realityEndTime;
	}

	@Override
	public String toString() {
		return "BusiTaskMain{" +
				"id=" + id +
				", type='" + type + '\'' +
				", title='" + title + '\'' +
				", reason='" + reason + '\'' +
				", startTime=" + startTime +
				", endTime=" + endTime +
				", totalTime=" + totalTime +
				", instanceId='" + instanceId + '\'' +
				", createBy='" + createBy + '\'' +
				", createTime=" + createTime +
				", updateBy='" + updateBy + '\'' +
				", updateTime=" + updateTime +
				", applyUser='" + applyUser + '\'' +
				", applyTime=" + applyTime +
				", realityStartTime=" + realityStartTime +
				", realityEndTime=" + realityEndTime +
				", todoManId='" + todoManId + '\'' +
				'}';
	}
}
